]> dgit.raspbian.org Git - gnome-shell.git/commit
screencastService: Drop always-copy condition
authorrobert.mader@collabora.com <robert.mader@collabora.com>
Mon, 20 Feb 2023 17:07:23 +0000 (18:07 +0100)
committerJonas Dreßler <verdre@v0yd.nl>
Tue, 25 Apr 2023 18:28:28 +0000 (20:28 +0200)
commit46517e02dd4dc640893bc819dd549f04b04b61ea
tree4ff0622319bb4978c14f786ec3c788a01e599676
parentcad01d154c3da966d9679bd1dbf7f030416c2911
screencastService: Drop always-copy condition

The check for the Pipewire version was originally introduced in
d32c0348 which states:
> Since it is not clear yet when a proper solution will arrive,
> this makes use of `always-copy` as a workaround for now and
> should be reverted once it is no longer needed.

The check for a stable Gstreamer version with the mention proper fix was
introduced in d7b44319 and carried for the 43 cycle.

By the time Gnome 44 will be released all distros should have had enough
time to update their Gstreamer version - or backport the patches, in
case of not ustream-supported versions.

Thus lets drop it now.

Note: `always-copy` is not suitable for dmabuf buffers as it copies via
mmap.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2609>
js/dbusServices/screencast/screencastService.js